package com.java1234.dao;

import java.sql.Connection;
import java.sql.ResultSet;
import java.util.List;

import com.java1234.model.Book;
import com.java1234.model.Borrow;
import com.java1234.model.ReturnBook;

public interface IReturnBookDao {
	public int returnBook(Connection con, ReturnBook returnBook) throws Exception;//还书

	public ResultSet list(Connection con, ReturnBook returnBook) throws Exception;// 查询图书借阅表集合

	public int update(Connection con, ReturnBook returnBook) throws Exception;//图书续借

	public int delete(Connection con, String id) throws Exception;//删除还书信息

	public int fine(Connection con, ReturnBook returnBook) throws Exception;//超期罚款

	public int fineZero(Connection con, ReturnBook returnBook) throws Exception;//罚款清零

}
